/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "工序",TableName = "Ogprocesses")]
    public partial class Ogprocesses:BaseEntity
    {
        /// <summary>
       ///外协工序Id
       /// </summary>
       [Key]
       [Display(Name ="外协工序Id")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int Ps_Id { get; set; }

       /// <summary>
       ///工序名称
       /// </summary>
       [Display(Name ="工序名称")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Ps_Name { get; set; }

       /// <summary>
       ///工序编码
       /// </summary>
       [Display(Name ="工序编码")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Ps_No { get; set; }

       /// <summary>
       ///工序类型
       /// </summary>
       [Display(Name ="工序类型")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? Ps_Type { get; set; }

       /// <summary>
       ///外协Id
       /// </summary>
       [Display(Name ="外协Id")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? Og_Id { get; set; }

       /// <summary>
       ///工序状态（1.已完成 2未完成）
       /// </summary>
       [Display(Name ="工序状态（1.已完成 2未完成）")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? Ps_stare { get; set; }

       /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? Ps_DateTiem { get; set; }

       /// <summary>
       ///订单Id
       /// </summary>
       [Display(Name ="订单Id")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? O_id { get; set; }

       /// <summary>
       ///产品Id
       /// </summary>
       [Display(Name ="产品Id")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? Pro_id { get; set; }

       
    }
}